package Javabean;

public class Staff {
     private int id;//   '职工号'
     private String Name;//   '姓名',
     private String Sex;//   '性别',
     private String Brithday;//   '出生日期',
     private int Age;//   '年龄',
     private int Marry;//   '婚姻状态',
     private String Place;//   '家庭住址',
     private String Staff;//   '职称',
     private int Level;//   '工资级别'
     private double Salary;// '工资'


     public Staff() {
     }

     public Staff(int id, String Name, String Sex, String Brithday, int Age, int Marry, String Place, String Staff, int Level, double Salary) {
          this.id = id;
          this.Name = Name;
          this.Sex = Sex;
          this.Brithday = Brithday;
          this.Age = Age;
          this.Marry = Marry;
          this.Place = Place;
          this.Staff = Staff;
          this.Level = Level;
          this.Salary = Salary;
     }

     /**
      * 获取
      *
      * @return id
      */
     public int getId() {
          return  id;
     }

     /**
      * 设置
      * @param id
      */
     public void setId(int id) {
          this.id = id;
     }

     /**
      * 获取
      * @return Name
      */
     public String getName() {
          return Name;
     }

     /**
      * 设置
      * @param Name
      */
     public void setName(String Name) {
          this.Name = Name;
     }

     /**
      * 获取
      * @return Sex
      */
     public String getSex() {
          return Sex;
     }

     /**
      * 设置
      * @param Sex
      */
     public void setSex(String Sex) {
          this.Sex = Sex;
     }

     /**
      * 获取
      *
      * @return Brithday
      */
     public String getBrithday() {
          return Brithday;
     }

     /**
      * 设置
      * @param Brithday
      */
     public void setBrithday(String Brithday) {
          this.Brithday = Brithday;
     }

     /**
      * 获取
      *
      * @return Age
      */
     public int getAge() {
          return Age;
     }

     /**
      * 设置
      * @param Age
      */
     public void setAge(int Age) {
          this.Age = Age;
     }

     /**
      * 获取
      *
      * @return Marry
      */
     public String isMarry() {
          if (Marry > 0){
               return "已婚";
          }else {
               return "未婚";
          }
     }

     /**
      * 设置
      * @param Marry
      */
     public void setMarry(int Marry) {
          this.Marry = Marry;
     }

     /**
      * 获取
      * @return Place
      */
     public String getPlace() {
          return Place;
     }

     /**
      * 设置
      * @param Place
      */
     public void setPlace(String Place) {
          this.Place = Place;
     }

     /**
      * 获取
      * @return Staff
      */
     public String getStaff() {
          return Staff;
     }

     /**
      * 设置
      * @param Staff
      */
     public void setStaff(String Staff) {
          this.Staff = Staff;
     }

     /**
      * 获取
      *
      * @return Lever
      */
     public int getLevel() {
          return Level;
     }

     /**
      * 设置
      * @param Lever
      */
     public void setLevel(int Lever) {
          this.Level = Lever;
     }
     public double getSalary() {
          return Salary;
     }
     public void setSalary(double Salary) {
          this.Salary = Salary;
     }

}
